package ch08;

class ExceptionEx15 {
	public static void main(String[] args) throws Exception {
		method1();
  	}

	static void method1() throws Exception {
		method2();
	}

	static void method2() throws Exception {
		throw new Exception();
	}
}
/*
Exception in thread "main" java.lang.Exception
at ch08.ExceptionEx16.method2(ExceptionEx16.java:12)
at ch08.ExceptionEx16.method1(ExceptionEx16.java:8)
at ch08.ExceptionEx16.main(ExceptionEx16.java:4)
*/